<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="ss" uri="/struts-dojo-tags" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

    <title>用户注册</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
</head>
<ss:head/>
<body>
<jsp:include page="head.jsp"/>
<div class="content">
    <div class="left">
        <s:action name="browseCatalog" executeResult="true"/>
    </div>
    <div class="right">
        <div style="padding-left:200px;width: 600px;">
            <s:form action="addUser" method="post">
                <s:textfield label="用户名" name="user.username"/>
                <s:password label="密码" name="user.password"/>
                <s:hidden name="user.role" value="customer"/>
                <s:textfield label="真实姓名" name="userdetail.truename"/>
                <s:radio label="性别" list="#{1:'男',0:'女'}" value="0" name="userdetail.xb"/>
                <tr>
                    <td>

                    </td>
                    <td>
                        <ss:datetimepicker label="出生日期" name="userdetail.csrq"/>
                    </td>
                </tr>
                <s:textfield label="E-mail" name="userdetail.email"/>
                <s:textfield label="手机" name="userdetail.phone"/>
                <s:textfield label="地址" name="userdetail.address"/>
                <s:submit value="注册"/>
            </s:form></div>
    </div>
</div>
<jsp:include page="foot.jsp"/>
</body>
</html>
